import request from '@/utils/request'

// 查询用料清单变更明细列表
export function listDetails(query) {
  return request({
    url: '/mes/pro/workorder/bom/changedetails/list',
    method: 'get',
    params: query
  })
}

// 根据BOM版本查询 物料清单
export function selectMdItemsForWorkorderBom(data) {
  return request({
    url: '/mes/pro/workorderbom/selectMdItemsForWorkorderBom',
    method: 'post',
    data
  })
}
//原BOM版本与新BOM版本物料清单比较
export function bomCompare(data) {
  return request({
    url: '/mes/pro/workorder/bomCompare',
    method: 'post',
    data
  })
}

export function listExport(data) {
  return request({
    url: '/mes/pro/workorder/bom/changedetails/export',
    method: 'post',
    data
  })
}
//列表导出






